import {OrderPaymentMethod} from "@/components/OrderPaymentModal/types";
import {AlipayOutlined, MoneyCollectOutlined, ScheduleOutlined, WechatOutlined} from "@ant-design/icons";

// 定义完整配置对象
export const PAYMENT_METHOD_CONFIG: Record<
  OrderPaymentMethod,
  {
    displayName: string;
    icon: React.ReactNode;
    color: string;
  }
> = {
  wechat: {
    displayName: "微信支付",
    icon: <WechatOutlined/>,
    color: "#07C160"
  },
  alipay: {
    displayName: "支付宝",
    icon: <AlipayOutlined/>,
    color: "#1677FF"
  },
  cash: {
    displayName: "现金支付",
    icon: <MoneyCollectOutlined/>,
    color: "#FAAD14"
  },
  monthly: {
    displayName: "月结支付",
    icon: <ScheduleOutlined/>,
    color: "#722ED1"
  }
};
